package com.sch.hsy.common.core.domain.entity;

import com.sch.hsy.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 积分兑换对象
 */
public class SysExchange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long convertId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 兑换消耗积分
     */
    private Long convertGoal;

    private Long bookId;

    private Long chapterId;

    private Long quesId;

    private Date exchangeTime;


    public Long getConvertId() {
        return convertId;
    }

    public void setConvertId(Long convertId) {
        this.convertId = convertId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getConvertGoal() {
        return convertGoal;
    }

    public void setConvertGoal(Long convertGoal) {
        this.convertGoal = convertGoal;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Long getQuesId() {
        return quesId;
    }

    public void setQuesId(Long quesId) {
        this.quesId = quesId;
    }

    public Date getExchangeTime() {
        return exchangeTime;
    }

    public void setExchangeTime(Date exchangeTime) {
        this.exchangeTime = exchangeTime;
    }
}
